﻿namespace _01.StudentExercise
{
    using System;

    public class StudentExercise
    {
        static void Main()
        {
            Student firstStudent = new Student("Muncho", "Minchev", "Minchev", "03435345", "ss", "+359893555888", 1, "alabala@gmail.com", Specialties.Informatics, Universities.SofiaUniversity, Faculties.MathematicsAndInformatics);
            Student secondStudent = new Student("Pancho", "Punchev", "Pinchev", "624716546", "sdsds", "+359899989898", 1, "alabala2@gmail.com", Specialties.Finances, Universities.UNWE, Faculties.FinancesAndAccountancy);

            Console.WriteLine(firstStudent);
            Console.WriteLine(secondStudent);

            Console.WriteLine(firstStudent.Equals(secondStudent));

            Console.WriteLine(firstStudent != secondStudent);

            Student clonedFirstStudent = firstStudent.Clone();
            Console.WriteLine(firstStudent == clonedFirstStudent);

            Console.WriteLine(firstStudent.CompareTo(secondStudent));
            Console.WriteLine(firstStudent.CompareTo(clonedFirstStudent));

            Console.WriteLine(firstStudent.GetHashCode());
            Console.WriteLine(secondStudent.GetHashCode());
            Console.WriteLine(clonedFirstStudent.GetHashCode());
        }
    }
}